.profile-page {
  background-color: #f9f9f9;
  min-height: 100vh;
  padding: 16px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.back-btn {
  font-size: 24px;
  color: #333;
}

.page-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.save-btn {
  font-size: 16px;
  color: #ff6b00;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 4px;
}

.save-btn:hover {
  background-color: #fff2e6;
}

.save-btn.saving {
  color: #999;
  cursor: not-allowed;
  background-color: #f5f5f5;
}

.avatar-container {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.avatar {
  width: 20vw;
  height: 20vw;
  border-radius: 50%;
  margin-top: 3vh;
  margin-bottom: 1.2vh;
  object-fit: cover;
  border: 0.5vh solid #f0f0f0;
  background: #ffd200;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
}

.avatar:hover {
  transform: scale(1.05);
  border-color: #ff6b00;
}

.avatar-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50%;
}

.avatar:hover .avatar-overlay {
  opacity: 1;
}

.avatar-text {
  color: white;
  font-size: 12px;
  text-align: center;
}

.info-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #eee;
}

.info-item:last-child {
  border-bottom: none;
}

.info-label {
  font-size: 16px;
  color: #666;
}

.info-value {
  font-size: 16px;
  color: #333;
  display: flex;
  align-items: center;
}

.arrow-icon {
  margin-left: 8px;
  color: #ccc;
}

/* 输入框样式 */
.info-input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  color: #333;
  flex: 1;
  margin-right: 8px;
}

.info-input:focus {
  background-color: #f5f5f5;
  border-radius: 4px;
  padding: 4px 8px;
}

.info-input.error {
  border: 1px solid #ff4d4f;
  background-color: #fff2f0;
  border-radius: 4px;
  padding: 4px 8px;
}

.error-message {
  color: #ff4d4f;
  font-size: 12px;
  margin-top: 4px;
  margin-left: 16px;
}

/* 加载状态样式 */
.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}

.loading-text {
  font-size: 16px;
  color: #666;
}

.loading-placeholder {
  font-size: 16px;
  color: #666;
  text-align: center;
  padding: 20px;
}

/* 成功提示样式 */
.success-message {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #52c41a;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 14px;
  z-index: 1000;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 12px rgba(82, 196, 26, 0.3);
  animation: slideDown 0.3s ease;
}

.success-icon {
  margin-right: 8px;
  font-weight: bold;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}